How to build the the "Youth-Police Relations in German and French Cities Dataset":

Run scripts according to the following succession

1. police contact FR
- generates the variables on police encounters for France

2. migration background FR (refer to #1)
- generates the variables on migration background for France

3. recodings FR (refer to #2)
- recodes and generates new variables for France

4. scales FR (refer to #3)
- generates the scales for France
- creates a new french final dataset

5. migration background DE
- generates the variables on migration background for Germany

6. recodings DE (refer to #4)
- recodes and generates new variables for Germany
	
7. scales DE (refer to #5)
- generates the scales for Germany
- creates a new German final dataset

8. joint dataset DEFR
- creates joint dataset for Germany and France
- adds the geocoded data and level 2 data


How to produce the tables and figures presented in “Youth-Police Relations in Multi-Ethnic Cities. A Study of Police Encounters and Attitudes Toward the Police in Germany and France”.

For chapter 6 see:

- Ch6_PoliceContact_Descriptives_DE.do- Ch6_PoliceContact_Descriptives_DEFR.do- Ch6_PoliceContact_Regressions_DE.do- Ch6_PoliceContact_Regressions_DEFR.do- Ch6.6.3_Ch8.3.4_Neighborhood_DEFR4.do

For chapter 7 see: 
- Ch7_PoliceExperience_DE.do- Ch7_PoliceExperience_DEFR.doFor chapter 8 see: - Ch8_AttitudesPolice_DE.do- Ch8_AttitudesPolice_DEFR.do

For chapter 9 see: 
- Ch9_SelfHelp_DE.do


Note: 

DE indicates scripts that produce tables and figures for Germany only. Note that this scripts rely on the dataset produced under point 7 "scales DE" (final German dataset)

DEFR indicates scripts that produces tables and figures for Germany and France. Note that only these scripts rely on the "Youth-Police Relations in German and French Cities Dataset". 




